#include<bits/stdc++.h>

using namespace std;

int main() {
    char a[100] = "apple";
    char b[100];
    int i = 0, j = 0;
    while (b[j++] = a[i++]);

//b=a;//dst  src
    strcpy(b, a);
    cout << b;
    return 0;
}
